import ConsoleLayout from "@/layouts/ConsoleLayout.vue"
import ConsoleDashboard from "@/views/ConsoleDashboard.vue"

const consoleRoutes = [
    {
        path: "/console",
        redirect: "/console/dashboard",
    },
    {
        path: "/console",
        name: "Console",
        component: ConsoleLayout,
        children: [
            {
                path: "/console/dashboard",
                name: "Dashboard",
                component: ConsoleDashboard,
                meta: {
                    title: "仪表盘",
                    KeepAlive: true,
                    // transition: "zoom",
                },
            },
        ],
    },
]

export default consoleRoutes